package guowei.guliproduct.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import guowei.common.utils.PageUtils;
import guowei.guliproduct.product.entity.AttrEntity;
import guowei.guliproduct.product.vo.AttrRelationDelVo;
import guowei.guliproduct.product.vo.AttrRespVo;
import guowei.guliproduct.product.vo.Attrvo;

import java.util.Map;

/**
 * 商品属性
 *
 * @author guoguo
 * @email 1573746397@qq.com
 * @date 2023-05-21 17:38:07
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPagrByKeys(Map<String, Object> params, Long catId);

    void saveAndRelation(Attrvo attrvo);

    AttrRespVo getByVo(Attrvo attrvo);

    void updatePaths(Attrvo attrvo);

    PageUtils queryPagrByKeysSale(Map<String, Object> params, Long catId);

    void saveRelation(AttrRelationDelVo[] attrRelationDelVos);
}

